package zlx.service;

import zlx.pojo.Book;
import zlx.pojo.Page;


public interface BookService {
    //查询所有图书
    public Page<Book> selectAllBook(Integer pageNo);

    //新增图书
    public void addBook(Book book);

    //根据id删除图书
    public void deleteBookById(Integer id);

    //根据id查找图书
    public Book queryBookById(Integer id);

    //根据id修改图书
    public void updateBookById(Book book);
}
